#include <stdio.h>

 
typedef unsigned int bool;
#define TRUE 1
#define FALSE 0
#define true 1
#define false 0

#define nullptr NULL

void debug(const char *format, ...);
void sync_idbfs();
void init_idbfs_data();

#ifndef EM_PORT_API
#if defined(__EMSCRIPTEN__)
#include <emscripten.h>
#if defined(__cplusplus)
#define EM_PORT_API(rettype) extern "C" rettype EMSCRIPTEN_KEEPALIVE
#else
#define EM_PORT_API(rettype) rettype EMSCRIPTEN_KEEPALIVE
#endif
#else
#if defined(__cplusplus)
#define EM_PORT_API(rettype) extern "C" rettype
#else
#define EM_PORT_API(rettype) rettype
#endif
#endif
 
#endif